<%--
  Created by IntelliJ IDEA.
  User: 17400
  Date: 2022/10/28
  Time: 8:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="com.before.dao.*" %>
<%
    StudentDao studentDao = new StudentDaoImpl();
    List<String> names = studentDao.getAll();
%>
<html>
<head>
    <title>第二阶段--动态页面--Model1模式</title>
</head>
<body>
<ul>
    <%
        for(String name:names){
            out.println("<li>"+name+"</li>");
        }
    %>
</ul>
</body>
</html>
